package com.ruoyi.monitor.infoprojectmonitor.mapper;

import com.ruoyi.monitor.infoprojectmonitor.domain.InfoProjectMonitor;
import com.ruoyi.monitor.infoprojectmonitorfunds.domain.InfoProjectMonitorFunds;
import com.ruoyi.monitor.infoprojectmonitorrelation.vo.InfoProjectMonitorDetailVo;

import java.util.List;


/**
 * 项目监控Mapper接口
 *
 * @author ruoyi
 * @date 2022-02-14
 */
public interface InfoProjectMonitorMapper {
    /**
     * 查询项目监控
     *
     * @param id 项目监控主键
     * @return 项目监控
     */
    public InfoProjectMonitor selectInfoProjectMonitorById(Long id);

    /**
     * 查询项目监控列表
     *
     * @param infoProjectMonitor 项目监控
     * @return 项目监控集合
     */
    public List<InfoProjectMonitor> selectInfoProjectMonitorList(InfoProjectMonitor infoProjectMonitor);

    /**
     * 新增项目监控
     *
     * @param infoProjectMonitor 项目监控
     * @return 结果
     */
    public int insertInfoProjectMonitor(InfoProjectMonitor infoProjectMonitor);

    /**
     * 修改项目监控
     *
     * @param infoProjectMonitor 项目监控
     * @return 结果
     */
    public int updateInfoProjectMonitor(InfoProjectMonitor infoProjectMonitor);

    /**
     * 删除项目监控
     *
     * @param id 项目监控主键
     * @return 结果
     */
    public int deleteInfoProjectMonitorById(Long id);

    /**
     * 批量删除项目监控
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteInfoProjectMonitorByIds(Long[] ids);

    /**
     * 根据id查询项目信息
     *
     * @param projectMonitorId
     * @return
     */
    InfoProjectMonitorDetailVo getProjectMonitorDetailById(Long projectMonitorId);

    /**
     * 根据主项目id查询项目资金
     *
     * @param projectMonitorId
     * @return
     */
    InfoProjectMonitorFunds selectInfoProkectMontorFunds(Long projectMonitorId);

    InfoProjectMonitor selectInfoProjectMonitorByIdss(Long id);

    InfoProjectMonitor selectInfoProjectMonitorByTargetId(Long id);
}
